/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package spring4.context;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;

/**
 *
 * @author kent
 */
@Documented  
@Retention(RetentionPolicy.RUNTIME)  
@Target({ElementType.METHOD,ElementType.FIELD,ElementType.CONSTRUCTOR,ElementType.PARAMETER})  
@Constraint(validatedBy=TwIDValidator.class)  
public @interface ValiadTwID {
    boolean nullable() default true;
    String message() default "中華民國身分證字號不正確";
    Class[] groups() default {};
    Class[] payload() default {};  
}
